package com.ditian.model;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 人脸矩形框
 * @author chenweiyi
 *
 */
public class Rectangle {
	/**
	 * 矩形框左上角像素点的纵坐标
	 */
	@JSONField(name="top")
	private int top;
	/**
	 * 矩形框左上角像素点的横坐标
	 */
	@JSONField(name="left")
	private int left;
	/**
	 * 矩形框的宽度
	 */
	@JSONField(name="width")
	private int width;
	/**
	 * 矩形框的高度
	 */
	@JSONField(name="height")
	private int height;
	public int getTop() {
		return top;
	}
	public void setTop(int top) {
		this.top = top;
	}
	public int getLeft() {
		return left;
	}
	public void setLeft(int left) {
		this.left = left;
	}
	public int getWidth() {
		return width;
	}
	public void setWidth(int width) {
		this.width = width;
	}
	public int getHeight() {
		return height;
	}
	public void setHeight(int height) {
		this.height = height;
	}
	@Override
	public String toString() {
		return "Rectangle [top=" + top + ", left=" + left + ", width=" + width
				+ ", height=" + height + "]";
	}
	
	

}
